home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 5
/
Aminet 5 - March 1995.iso
/
Aminet
/
util
/
conv
/
mcvert.lha
/
mcvert
/
sup.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-12-17
|
312b
|
25 lines
#include <stdlib.h>
#include <time.h>
#include <sys/timeb.h>
void bzero(char *p, int n)
{
memset(p, '\0', n);
}
void bcopy(char *s, char *d, int n)
{
memmove(d, s, n);
}
int ftime(struct timeb *tp)
{
time_t now;
time(&now);
tp->time = now;
tp->millitm = 0;
tp->timezone = 0;
tp->dstflag = 0;
}